
<div class="modal-content">
    <div ms-controller="login">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close" ms-click="goBack"><span
                    aria-hidden="true">&times;</span></button>
            <h4 class="modal-title" id="myModalLabel">用户登录</h4>
        </div>
        <div class="modal-body">
            <div class="row">
                <div class="col-md-10 col-md-offset-1">
                    <form class="form-horizontal ">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">用户名</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control"  placeholder="请输入用户名" ms-duplex="username">
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-2 control-label">密码</label>
                            <div class="col-sm-10">
                                <input type="password" class="form-control"  placeholder="请输入密码" ms-duplex="password">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <a href="#!/find_pwd">忘记了密码？点击找回密码！</a>
                            </div>
                        </div>

                    </form>
                </div>
            </div>


        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-primary" ms-click="loginIn">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;登录&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </button>
            <a href="#!/reg" class="btn btn-default">
                注册新账户
            </a>
        </div>
    </div>
</div>